Expand description
This crate supports the creation of a fully-featured Ockam Node
(see NodeManager
in src/nodes/service.rs
).
Configuration
A NodeManager
maintains its database and log files on disk in
the OCKAM_HOME
directory (~/.ockam
) by default:
root
├─ database.sqlite
├─ nodes
│ ├─ node1
│ │ ├─ stderr.log
│ │ ├─ stdout.log
│ ├─ node2
│ └─ ...
Re-exports
pub use cli_state::*;
pub use nodes::service::default_address::*;
Modules
- This service allows encrypted transparent communication from the kafka producer to the kafka consumer without any modification in the existing application.
Structs
Enums
Traits
Functions
- Try to convert an Ockam Address into a MultiAddr.
- Tells whether the input MultiAddr references a local node or a remote node.
- Try to convert a multi-address to an Ockam route.
- Tells whether the input
Code
references a local worker. - Try to convert a multiaddr to an Ockam Address
- Resolve all the multiaddresses which represent transport addresses For example /tcp/127.0.0.1/port/4000 is transformed to the Address (TCP, “127.0.0.1:4000”) The creation of a TCP worker and the substitution of that transport address to a worker address is done later with
context.resolve_transport_route(route)
- Try to convert an Ockam Route into a MultiAddr.
- Try to convert an Ockam Address to a MultiAddr.